#include <stdio.h>
#include <stdbool.h>

typedef struct
{
	char name[10];
	char age;
	float height;
}student_t;

// 指定初始化
static student_t A = {
	.age = 10,
	.height = 150.1,
	.name = "ming"
};


int main(int argc, char *argv[])
{
	printf("A.name = %s\r\n",A.name);
	printf("A.age = %d\r\n",A.age);
	printf("A.height = %.2f\r\n",A.height);
	return 0;
}